Import a batch of suppliers.
POST/partner/v1.0/organizations/:organizationId/suppliers/batch
Import a batch of suppliers.
Request
Path Parameters
The ID of the organization
- application/json
- text/json
- application/*+json
Body
The batch of suppliers and the import type
Array [
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
]
Possible values: [Create, Create And Update, Update]
suppliers
object[]
nullable
Suppliers to import.
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
Body
The batch of suppliers and the import type
Array [
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
]
Possible values: [Create, Create And Update, Update]
suppliers
object[]
nullable
Suppliers to import.
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
Body
The batch of suppliers and the import type
Array [
Array [
]
Array [
- CustomFieldValue
- TextCustomFieldValue
- SelectCustomFieldValue
- MultiSelectCustomFieldValue
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
]
Array [
]
]
Possible values: [Create, Create And Update, Update]
suppliers
object[]
nullable
Suppliers to import.
The unique identifier of the supplier in CarbonTrail.
The name of the supplier.
The primary contact email address for the supplier.
location
object
Represents a geographical location where a manufacturing process or material sourcing takes place.
The unique identifier of the location.
The name of the city.
The name of the state where the location is situated.
Possible values: non-empty
The ISO 3166-1 alpha-2 country code.
The full name of the country.
The name of the continent.
The latitude coordinate of the location.
The longitude coordinate of the location.
aliases
object[]
nullable
The aliases associated with the supplier, including alternative identifiers.
The unique identifier of the alias definition in CarbonTrail.
The name of the alias (e.g., "Supplier ID", "Facility ID").
The identifier value associated with the entity for this alias.
customFieldValues
object[]
nullable
The values of custom fields associated with the supplier.
oneOf
Represents a custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
Represents a text custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
circular(TextCustomFieldValue)
The value of the multi-select custom field.
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the text custom field.
Represents a select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
circular(SelectCustomFieldValue)
The values of the multi-select custom field.
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The value of the multi-select custom field.
Represents a multi-select custom field value.
type
string
required
Possible values: [Text, Select, Multi-Select]
The value of the text custom field.
The value of the multi-select custom field.
circular(MultiSelectCustomFieldValue)
Possible values: non-empty
The unique identifier of the custom field this value is associated with.
The values of the multi-select custom field.
externalIdentities
object[]
nullable
The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.
The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.
The unique identifier value from the system.
Responses
- 202
- 400
Accepted
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Unique identifier for tracking the batch import.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed, Submitted]
Status types for import jobs.
Total number of records in the batch.
{
"batchId": "string",
"status": "Accepted",
"totalRecords": 0
}
- Schema
- Example (from schema)
Schema
Unique identifier for tracking the batch import.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed, Submitted]
Status types for import jobs.
Total number of records in the batch.
{
"batchId": "string",
"status": "Accepted",
"totalRecords": 0
}
- Schema
- Example (from schema)
Schema
Unique identifier for tracking the batch import.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed, Submitted]
Status types for import jobs.
Total number of records in the batch.
{
"batchId": "string",
"status": "Accepted",
"totalRecords": 0
}
Bad Request
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}